//
//  PhotoSecondViewController.m
//  Today
//
//  Created by dllo on 15/5/30.
//  Copyright (c) 2015年 fanfan. All rights reserved.
//

#import "PhotoSecondViewController.h"

@interface PhotoSecondViewController ()

@end

@implementation PhotoSecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    UIImageView *imageview = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height - 300)];
    imageview.image = self.Image;
    [self.view addSubview:imageview];
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(0, self.view.frame.size.height - 350, 100, 100);
    button.tintColor = [UIColor colorWithRed:0.040 green:0.500 blue:0.462 alpha:1.000];
    [self.view addSubview:button];
    [button setTitle:@"选择分享" forState:UIControlStateNormal];
    [button setTitleColor:[UIColor colorWithRed:0.135 green:0.349 blue:1.000 alpha:1.000]forState:UIControlStateNormal];
    button.layer.borderColor = [UIColor whiteColor].CGColor;
    button.layer.borderWidth = 50;
    button.layer.cornerRadius = YES;
    button.layer.masksToBounds = YES;
    [button addTarget:self action:@selector(touchme) forControlEvents:UIControlEventTouchUpInside];
    
    UIButton *but = [UIButton buttonWithType:UIButtonTypeCustom];
    but.frame = CGRectMake(0, self.view.frame.size.height - 500, 100, 100);
    but.tintColor = [UIColor colorWithRed:0.040 green:0.500 blue:0.462 alpha:1.000];
    [self.view addSubview:but];
    [but setTitle:@"选择分享" forState:UIControlStateNormal];
    [but setTitleColor:[UIColor colorWithRed:0.135 green:0.349 blue:1.000 alpha:1.000]forState:UIControlStateNormal];
    but.layer.borderColor = [UIColor whiteColor].CGColor;
    but.layer.borderWidth = 50;
    but.layer.cornerRadius = YES;
    but.layer.masksToBounds = YES;
    [but addTarget:self action:@selector(touch) forControlEvents:UIControlEventTouchUpInside];
    
    
}
- (void)touchme
{
    
    
    
}
- (void)touch
{
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
